.writable-edit-mode {
  background: var(--background);
  color: var(--writable-font-color);
  line-height: 22px;
  font-size: 14px;

  .flex-layout {
    display: flex;
    align-items: center;
    margin-top: 5px;
    .flex-layout-item {
      margin-right: 10px;
      flex: 1;
    }
  }
  // 只有是两列布局的时候才起作用
  & > .flex-layout {
    align-items: flex-start;
  }
  ul,
  ol {
    padding-left: 20px;
  }
  li,
  p {
    margin-top: 5px;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-top: 10px;
  }
  h1 {
    font-size: 20px;
  }
  h2 {
    font-size: 17px;
  }
  h3 {
    font-size: 15px;
  }
  h4 {
    font-size: 14px;
  }
  h5 {
    font-size: 13px;
  }
  h6 {
    font-size: 12px;
  }

  i.iconfont {
    margin-right: 8px;
    &:hover {
      opacity: 0.5;
      cursor: pointer;
    }
  }

  a {
    color: var(--super-link);
    &:hover {
      opacity: 0.5;
      cursor: pointer;
    }
  }
  .head-layout {
    border-radius: 10px;
    position: relative;

    img[alt*='个人头像'] {
      width: 30mm;
      height: 30mm;
      border-radius: 5px;
      margin: 0 10px;
      object-fit: cover;
      cursor: pointer;
      &:hover {
        opacity: 0.8;
      }
    }
  }

  table {
    width: 100%;
    text-align: center;
    tbody td:nth-child(1) {
      border-left: 1px solid #eee;
    }
    thead {
      color: #f8f8f8;
      background-color: #b2c9d6;
    }
    thead th,
    tbody td {
      padding: 10px;
    }
    tbody td {
      border-right: 1px solid #eee;
      border-bottom: 1px solid #eee;
    }
  }

  code.single-code {
    color: var(--writableFontColor);
    padding: 3px 10px;
    background: transparent;
    position: relative;
    border-radius: 5px;

    &::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      border-radius: 5px;
      background: #ccc;
      opacity: 0.2;
    }
  }

  blockquote {
    position: relative;
    margin: 0;
    font-size: 14px;
    padding: 8px 15px;
    margin: 12px 0;
    &::after,
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
    }
    &::after {
      width: 100%;
      opacity: 0.1;
      background: #b2c9d6;
    }
    &::before {
      position: absolute;
      width: 5px;
      background: #b2c9d6;
      opacity: 0.3;
    }
  }
}
